package com.sz.service.impl;

import com.sz.mapper.FrozenMapper;
import com.sz.model.BankResult;
import com.sz.service.IFrozenService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class FrozenServiceImpl implements IFrozenService {

    @Autowired
    private FrozenMapper frozenMapper;

    @Override
    public BankResult getByAccount(String bankAccount) {
        return frozenMapper.getByAccount(bankAccount);
    }

    @Override
    public int changeState(String bankAccount) {
        return frozenMapper.changeState(bankAccount);
    }
}
